package com.jr.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: ZhiHu.Liu
 * @date: 2020/3/23 4:41 下午
 */
@FeignClient(name = "nacos-sentinel-server")
public interface TestService {

    @GetMapping("/test/{name}")
    public String test(@PathVariable(value = "name") String name);

    @GetMapping("/hello/{name}")
    public String hello(@PathVariable(value = "name") String name);
}
